package com.gudaomai.wuye.entity;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class LayoutInput {

	private static final long serialVersionUID = 1L;

	private Integer id;
	
	@NotNull(message="")
	@NotBlank(message="")
	private String code;

	@NotNull(message="")
	@NotBlank(message="")
	private String unit;
	
	private String name;
	
	private Integer pid;
	
	private String update_user;
	private String create_user;
	private Date update_time;
	private Date create_time;
	
    

	public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}



	public String getCode() {
		return code;
	}



	public void setCode(String code) {
		this.code = code;
	}



	public String getUnit() {
		return unit;
	}



	public void setUnit(String unit) {
		this.unit = unit;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public Integer getPid() {
		return pid;
	}



	public void setPid(Integer pid) {
		this.pid = pid;
	}



	public String getUpdate_user() {
		return update_user;
	}



	public void setUpdate_user(String update_user) {
		this.update_user = update_user;
	}



	public String getCreate_user() {
		return create_user;
	}



	public void setCreate_user(String create_user) {
		this.create_user = create_user;
	}



	public Date getUpdate_time() {
		return update_time;
	}



	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}



	public Date getCreate_time() {
		return create_time;
	}



	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
}
